package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 投保单下载对象 sys_insurance_details
 * 
 * @author ruoyi
 * @date 2021-09-17
 */
@ApiModel
public class SysInsuranceDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 支付时间 */
    @ApiModelProperty(value = "支付时间")
    @Excel(name = "支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String payTime;

    /** 支付状态 */
    @ApiModelProperty(value = "支付状态")
    @Excel(name = "支付状态")
    private String payStatus;

    /** 保单生效时间 */
    @ApiModelProperty(value = "保单生效时间")
    @Excel(name = "保单生效时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String insuranceStartdate;

    /** 保单号 */
    @ApiModelProperty(value = "保单号")
    @Excel(name = "保单号")
    private String lossPolicy;

    /** 保费总金额 */
    @ApiModelProperty(value = "保费总金额")
    @Excel(name = "保费总金额")
    private BigDecimal totalInsurancePremium;

    /** 订单数量 */
    @ApiModelProperty(value = "订单数量")
    @Excel(name = "订单数量")
    private String orderNum;

    /** 批次号 */
    @ApiModelProperty(value = "批次号")
    @Excel(name = "批次号")
    private String batchNo;

    /** 报表生成时间 */
    @ApiModelProperty(value = "报表生成时间")
    @Excel(name = "报表生成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reportGenerationTime;

    /** ID */
    @ApiModelProperty(value = "id")
    private Long id;

    public void setPayTime(String payTime)
    {
        this.payTime = payTime;
    }

    public String getPayTime()
    {
        return payTime;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setInsuranceStartdate(String insuranceStartdate)
    {
        this.insuranceStartdate = insuranceStartdate;
    }

    public String getInsuranceStartdate()
    {
        return insuranceStartdate;
    }
    public void setLossPolicy(String lossPolicy) 
    {
        this.lossPolicy = lossPolicy;
    }

    public String getLossPolicy() 
    {
        return lossPolicy;
    }
    public void setTotalInsurancePremium(BigDecimal totalInsurancePremium)
    {
        this.totalInsurancePremium = totalInsurancePremium;
    }

    public BigDecimal getTotalInsurancePremium()
    {
        return totalInsurancePremium;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }
    public void setReportGenerationTime(Date reportGenerationTime)
    {
        this.reportGenerationTime = reportGenerationTime;
    }

    public Date getReportGenerationTime()
    {
        return reportGenerationTime;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("remark", getRemark())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("payTime", getPayTime())
            .append("payStatus", getPayStatus())
            .append("insuranceStartdate", getInsuranceStartdate())
            .append("lossPolicy", getLossPolicy())
            .append("totalInsurancePremium", getTotalInsurancePremium())
            .append("orderNum", getOrderNum())
            .append("batchNo", getBatchNo())
            .append("reportGenerationTime", getReportGenerationTime())
            .append("id", getId())
            .toString();
    }
}
